﻿using System;
using System.Collections.Generic;
using System.Text;
using He.Common;

namespace He.DAL
{
    public partial class logistics_status
    {
        public readonly string TblName = SysKeys.TABLE_PREFIX + "logistics_status";

        /// <summary>
        /// 批量删除数据
        /// </summary>
        public bool Delete(string orderNumber)
        {
            StringBuilder strSql = new StringBuilder();
            strSql.Append("delete from " + TblName);
            strSql.Append(" where order_number='" + orderNumber + "'");
            int rows = DbHelperSQLite.ExecuteSql(strSql.ToString());
            if (rows > 0)
            {
                return true;
            }
            else
            {
                return false;
            }
        }
    }
}
